package com.hsfw.dbmodule.dao;

import com.hsfw.dbmodule.entity.UserDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by RAZR on 18:55 2018/11/29.
 */
@Mapper
@Repository
public interface LoginDao {

    //通过用户账户获取用户信息(查询冻结与删除状态的信息)
    public List<UserDetail> findUserByAccountAllStatus(@Param("userAccount") String userAccount);
    //新增用户信息
    public int saveUserInfo(UserDetail userDetail);
    //更新用户信息
    public int updateUserInfo(UserDetail userDetail);
}
